import 'package:dart_bean/field_info.dart';

const unsupportedVarTypeNameError = 'Not support var type, please fix it.';
const unsupportedJsonKeyFeatureError = 'UnsupportedJsonKeyFeatureError, please fix it.';
const unsupportedTypeAliseError = "Not support Type Alise, Try Official Tool 'json_serializable' for part of beans, or remove it.";
const unsupportedMapFieldError = "Only support Map without generic type, Try Official Tool 'json_serializable' for part of beans";

String fieldErrorInfo(FieldInfo field) {
  return """
${field.parent.file.path}
${field.parent.name}{
  ${field.self}
}""";
}
